﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <link href="//netdna.bootstrapcdn.com/bootswatch/2.3.2/simplex/bootstrap.min.css"
        rel="stylesheet">
    <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
    <script src='http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js'></script>
    <title></title>
</head>
<body>
    <div class="container">
        <h3>
            Rozliczenie za wode.
        </h3>
        <form class="well form-search">
        <input type="text" class="input" placeholder="zużycie wody m3">
        </form>
        <a href="#rates" role="button" class="btn" id="modalRatesView">Launch demo modal</a>
        <!-- Modal -->
    </div>
    
    <script type="text/javascript">
        $(function () {
            $.fn.serializeObject = function () {
                var o = {};
                var a = this.serializeArray();
                $.each(a, function () {
                    if (o[this.name]) {
                        if (!o[this.name].push) {
                            o[this.name] = [o[this.name]];
                        }
                        o[this.name].push(this.value || '');
                    } else {
                        o[this.name] = this.value || '';
                    }
                });
                return o;
            };
        });
    </script>
    <script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.4/underscore-min.js"></script>
    <script src='http://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.0.0/backbone-min.js'></script>
    <script src='http://cdnjs.cloudflare.com/ajax/libs/backbone-localstorage.js/1.1.0/backbone.localStorage-min.js'></script>
    <script src="js/views/rates.js"></script>
    <script src="js/models/Rate.js"></script>
    <script src="js/collection/Rates.js"></script>
    <script src="js/app.js"></script>
</body>
</html>
